package models

import "gorm.io/gorm"

type Rent struct {
	gorm.Model
	UserId  int64  `gorm:"type:int;not null;commit:'用户Id'"`
	HouseId int    `gorm:"type:int;not null;commit:'房子Id'"`
	MidMan  string `gorm:"type:varchar(30);not null;commit:'中间人'"`
	Tel     string `gorm:"type:char(11);not null;commit:'电话'"`
}
